{* FILTERS *}

<center>
<form method="post" id="teamselection">
	<input type="hidden" name="action" id="action" value="list">
	<input type="hidden" name="projectid" id="projectid" value="{$projectid}">
	<input type="hidden" name="teamid" id="teamid" value="">
	{foreach from=$list item=team}
		{eval var=$team->id assign="teamid"}
		{include file="button.tpl" name=$team->name action="goInto('$teamid')"}<br>
	{/foreach}
</form>
</center>

{literal}
<script language="javascript">
	function goInto(op) {
		var forma = document.forms['teamselection'];
		forma.teamid.value=op;
		forma.submit();
	}
</script>
{/literal}